package com.example.test.bean.DTO.input;

import com.example.test.bean.OrderGoods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value="OrderInputDTO", description="订单表修改表单")
public class OrderInputDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long orderId;

    @ApiModelProperty(value = "订单序列号")
    private String serialNumber;

    @ApiModelProperty(value = "送货地址")
    private String shipAddress;

    @ApiModelProperty(value = "客户名")
    private String customerName;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "订单状态（未完成、完成、正在进行、已取消）")
    private String orderState;

    @ApiModelProperty(value = "审批人姓名(完成时添加)")
    private String userNickname;

    @ApiModelProperty(value = "总价")
    private Double sellmoney;

    @ApiModelProperty(value = "备注")
    private String remarks;

    private Date createTime;

    private List<OrderGoods> orderGoods;
}
